<template>
  <div class="rank-list-item">
      <div class="pic">
        <img :src="list.Url" alt="">
        <span class="Frequency">{{list.Frequency}}</span>
      </div>
      <div class="font">
        {{list.Content}}
      </div>
  </div>
</template>

<script>
    export default {
        name: "RankListItem",
        props:{
            list:{
                type:Object,
                default(){
                    return{}
                }
            }
        },
        created() {
            // console.log(this.list.id)
        }
    }
</script>

<style scoped>
  .rank-list-item{
    float: left;
    margin-right: 8px;
    margin-top: 10px;
    width: 113px;
  }

  .pic{
    position: relative;
  }

  .pic img{
    width: 110px;
    border: 1px solid #fff;
    border-radius: 5px;
  }

  .Frequency{
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 10px;
    color: #fff;
  }

  .font{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

</style>